#encoding "utf-8"
#GRAMMAR_ROOT F

// описание человека
FIO -> AnyWord<kwtype="fio">;
FirstName -> Word<gram="persn", h-reg1>;
Patronymic -> Word<gram="patrn", h-reg1>;
FOA -> Word<kwtype="adress">;
UW -> AnyWord<~dict, h-reg1>;

SpName -> 'де' UW<rt>; // привязать к файлу с фамильными приставками
SpName -> 'де' Noun<gram="anim,sg",h-reg1, rt>; //странности фамилии
SPName -> FirstName SpName;

Adress -> FOA<nc-agr[1]> FirstName<nc-agr[1]> SpName;
Adress -> FOA<nc-agr[1]> FIO<nc-agr[1]>;
Adress -> FOA UW;
Adress -> FOA<nc-agr[1]> SpName<nc-agr[1]>;
Adress -> Noun<gram="anim, sg", nc-agr[1]> FirstName<nc-agr[1]>;
Adress -> Noun<gram="anim, sg", nc-agr[1]> FIO<nc-agr[1]>;
Adress -> FOA<gnc-agr[1]> Word<gnc-agr[1],h-reg1>;

Name -> FirstName (Patronymic);
Name -> FIO (Name);
Name -> Adress;
Name -> SpName;
Name -> UW;
Name -> Word <gram ="SPRO, sg, 1p">;

F -> Name<sp-agr[0]> interp (Fact.FPerson) Verb<sp-agr[0]> interp (Fact.Rel);

